import Vue from 'vue'
import VueX from 'vuex'
import Bmob from "hydrogen-js-sdk"
import IsLogin from './module/isLogin'
import User from './module/user'
import Menus from './module/menus'
import Carts from './module/carts'

Vue.use(VueX)

Vue.prototype.Bmob = Bmob

export default new VueX.Store({
    modules: {
        IsLogin,
        User,
        Menus,
        Carts
    }
})